<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class User extends CJR_Controller {
  
  // Carrega a home
  public function index() {
    $this->load->model('user_model');
    $id = $this->session->userdata('id');
    $this->loadPage($this->user_model->getName($id), array(
      'user/home' => array()
    ));
  }
}
